-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert PyPSA Network object to Grid object and profiles #652
Conversation
00e898b
to
a32235e
Compare
46894c5
to
c0d9fbf
Compare
eba5dfd
to
2f2a445
Compare
@BainanXia, @jenhagg, this is ready to be merged into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! Thanks 🚀
Pull Request doc
Purpose
Convert a PyPSA
Network
object to aGrid
object and times series for demand, hydro, solar and windWhat the code is doing
Use existing code in #608 to convert a in memory PyPSA
Network
object into objects that can be handled by the scenario framework. The feature is incomplete:Grid
object have missing/new columns and different types than what is expected (seepowersimdata.input.const
module)For example:
Reading a PyPSA-Eur netCDF file from Zenodo:
Extracting demand and solar profiles work well:
But not wind and hydro:
Testing
Add new unit tests
Where to look
Two new modules:
pypsa_to_grid
that creates aGrid
object from theNetwork
objectpypsa_to_profiles
that extracts the profiles from theNetwork
objectUsage Example/Visuals
How the code can be used and/or images of any graphs, tables or other visuals (not always applicable).
Time estimate
How long will it take for reviewers and observers to understand this code change?